package com.jctrip.hotel.source.model.CnBooking.resp;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import lombok.Data;

/**
 * @Author henry
 * @Date 2023/7/2 09:42
 * @Description
 */
@Data
@JacksonXmlRootElement(localName = "CNResponse")
public class BaseResponse {
    @JacksonXmlProperty(localName = "ActionName")
    private String actionName;
    @JacksonXmlProperty(localName = "MessageInfo")
    @JacksonXmlElementWrapper
    private MessageInfo messageInfo;



    @Data
    public static class MessageInfo {
        @JacksonXmlProperty(localName = "Code")
        private Integer code;
        @JacksonXmlProperty(localName = "Description")
        private String Description;
    }


}
